package com.joyintech.vo.fcPosInq.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Line {

    /**
     * 产品代码
     */
    @JacksonXmlProperty(localName = "prod_code")
    private String prodCode;

    /**
     * 产品名称
     */
    @JacksonXmlProperty(localName = "prod_name")
    private String prodName;

    /**
     * 产品持有金额
     */
    @JacksonXmlProperty(localName = "prod_amt")
    private String prodAmt;

    /**
     * 是否可赎回 0 不可赎回
     * 1可以赎回
     */
    @JacksonXmlProperty(localName = "is_redeem")
    private String isRedeem;

    /**
     * 产品状态 1预约认购期
     * 2认购期
     * 3封闭期
     * 4发行失败
     * 5开放期
     * 6产品终止（清盘）
     *             7停止赎回
     * 8停止申购
     * 9停止申购赎回
     */
    @JacksonXmlProperty(localName = "prod_status")
    private String prodStatus;

    /**
     * 产品成立日
     */
    @JacksonXmlProperty(localName = "establish_date")
    private String establishDate;

    /**
     * 产品到期日
     */
    @JacksonXmlProperty(localName = "prod_end_date")
    private String prodEndDate;

    /**
     * 产品期限
     */
    @JacksonXmlProperty(localName = "prod_day")
    private String prodDay;

    /**
     * 购买金额
     */
    @JacksonXmlProperty(localName = "buy_cost")
    private String buyCost;
    /**
     * 最新收益-昨日收益
     * @return
     */
    @JacksonXmlProperty(localName = "lastday_div_amt")
    private String lastdayDivAmt;

    /**
     * 产品持有份额
     * @return
     */
    @JacksonXmlProperty(localName = "prod_vol")
    private String prodVol;

    /**
     * 产品最新净值
     * @return
     */
    @JacksonXmlProperty(localName = "new_nav")
    private String newNav;

    /**
     * 7日年化
     * @return
     */
    @JacksonXmlProperty(localName = "seven_income")
    private String sevenIncome;

    /**
     * 万份收益
     * @return
     */
    @JacksonXmlProperty(localName = "ten_thousand_profit")
    private String tenThousandProfit;

    public String getProdVol() {
        return prodVol;
    }

    public void setProdVol(String prodVol) {
        this.prodVol = prodVol;
    }

    public String getNewNav() {
        return newNav;
    }

    public void setNewNav(String newNav) {
        this.newNav = newNav;
    }

    public String getSevenIncome() {
        return sevenIncome;
    }

    public void setSevenIncome(String sevenIncome) {
        this.sevenIncome = sevenIncome;
    }

    public String getTenThousandProfit() {
        return tenThousandProfit;
    }

    public void setTenThousandProfit(String tenThousandProfit) {
        this.tenThousandProfit = tenThousandProfit;
    }

    public String getLastdayDivAmt() {
        return lastdayDivAmt;
    }

    public void setLastdayDivAmt(String lastdayDivAmt) {
        this.lastdayDivAmt = lastdayDivAmt;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdAmt() {
        return prodAmt;
    }

    public void setProdAmt(String prodAmt) {
        this.prodAmt = prodAmt;
    }

    public String getIsRedeem() {
        return isRedeem;
    }

    public void setIsRedeem(String isRedeem) {
        this.isRedeem = isRedeem;
    }

    public String getProdStatus() {
        return prodStatus;
    }

    public void setProdStatus(String prodStatus) {
        this.prodStatus = prodStatus;
    }

    public String getEstablishDate() {
        return establishDate;
    }

    public void setEstablishDate(String establishDate) {
        this.establishDate = establishDate;
    }

    public String getProdEndDate() {
        return prodEndDate;
    }

    public void setProdEndDate(String prodEndDate) {
        this.prodEndDate = prodEndDate;
    }

    public String getProdDay() {
        return prodDay;
    }

    public void setProdDay(String prodDay) {
        this.prodDay = prodDay;
    }

    public String getBuyCost() {
        return buyCost;
    }

    public void setBuyCost(String buyCost) {
        this.buyCost = buyCost;
    }

    @Override
    public String toString() {
        return "Line{" +
                "prodCode='" + prodCode + '\'' +
                ", prodName='" + prodName + '\'' +
                ", prodAmt='" + prodAmt + '\'' +
                ", isRedeem='" + isRedeem + '\'' +
                ", prodStatus='" + prodStatus + '\'' +
                ", establishDate='" + establishDate + '\'' +
                ", prodEndDate='" + prodEndDate + '\'' +
                ", prodDay='" + prodDay + '\'' +
                ", buyCost='" + buyCost + '\'' +
                '}';
    }
}
